package com.huahua.graduateschoolspringboot.entity.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.huahua.graduateschoolspringboot.entity.BaseColumn;
import lombok.Data;

import java.time.LocalDateTime;
import java.time.LocalTime;

/**
 * @author LoveHuaHua
 * @date 2023年05月06日 13:15
 * @description believe in yourself
 */
@Data
@TableName(value = "city_light_config")
public class CityLightConfig extends BaseColumn {

    /**
     * 配置名称
     */
    @TableField(value = "`name`")
    private String name;

    /**
     * 是否启用 0=否 1=是
     */
    @TableField(value = "`status`")
    private Integer status;

    @TableField(value = "start_time")
    private LocalTime startTime;


    @TableField(value = "end_time")
    private LocalTime endTime;

    /**
     * 设备列表
     */
    @TableField(value = "device_list")
    private String deviceList;

    @TableField(value = "json")
    private String json;
}